-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SW-1658] Allow body frame to be root of TF tree #536
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Katie Hughes <[email protected]>
khughes-bdai
force-pushed
the
khughes/allow_body_to_be_root
branch
from
December 16, 2024 19:32
fe7f0bd
to
c8f0410
Compare
Pull Request Test Coverage Report for Build 12377409593Details
💛 - Coveralls |
Signed-off-by: Katie Hughes <[email protected]>
Signed-off-by: Katie Hughes <[email protected]>
khughes-bdai
force-pushed
the
khughes/allow_body_to_be_root
branch
from
December 17, 2024 15:31
5b91df4
to
fb22a20
Compare
Signed-off-by: Katie Hughes <[email protected]>
khughes-bdai
force-pushed
the
khughes/allow_body_to_be_root
branch
from
December 17, 2024 16:38
90b46cf
to
d2f7cec
Compare
khughes-bdai
requested review from
METEORITENMAX,
jbarry-bdai,
amessing-bdai,
mpickett-bdai,
bhung-bdai and
tcappellari-bdai
as code owners
December 17, 2024 16:59
khughes-bdai
requested review from
bjin-bdai,
jcarpinelli-bdai,
mbrauckmann-bdai,
mhidalgo-bdai and
mvictora-bdai
December 17, 2024 16:59
jcarpinelli-bdai
approved these changes
Dec 17, 2024
mhidalgo-bdai
approved these changes
Dec 18, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Overview
The goal of this PR is to allow the body frame to be the root of the tf tree, in case you want to broadcast your own custom odometry transform to "body". Currently that's not possible as body always has either odom or vision as a parent, and a tf frame cannot have more than two parents.
tf_root
to allow you to specify what frame will be the root of the TF tree.tf_root
to "vision" or "body" and pass this in via config file, and those frames will become the TF root as expected. (All the other frames and transforms still exist, it just changes the layout of the tree).preferred_odom_frame
parameter. (athough it is worth noting that this can't actually be changed currently, as it is hardcoded to be "odom" in the launchfile...spot_ros2/spot_driver/launch/spot_driver.launch.py
Line 109 in 941ab5e
preferred_odom_frame
parameter, as this was adjacent to the parameter I added. (all of this is in C++ now).Testing Done